<?php 
class brand extends database{
	protected $_table = "brand";
	public function listproducts(){
		$sql = "select * from $this->_table";
		$this->query($sql);
		return $this->fetchall();
	}
	

}
?>